package com.murray.assignment.pojo;

import java.util.Date;

/**
 * @author Murray
 * @Date 2021/8/4
 * @Time 4:27
 * skuGoods，商品的最小单位
 */
public class SkuGoods {
    /**
     * skuid
     */
    private Integer skuId;
    /**
     * 商品id
     */
    private Integer goodsId;
    /**
     * 价格
     */
    private double price;
    /**
     * 数量
     */
    private Integer num;
    /**
     * sku名字
     */
    private String skuName;
    /**
     * sku属性
     */
    private String skuProperties;
    /**
     * sku事件
     */
    private Date skuDate;

    @Override
    public String toString() {
        return "SkuGoods{" +
                "skuId=" + skuId +
                ", goodsId=" + goodsId +
                ", price=" + price +
                ", num=" + num +
                ", skuName='" + skuName + '\'' +
                ", skuProperties='" + skuProperties + '\'' +
                ", skuDate=" + skuDate +
                '}';
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuProperties() {
        return skuProperties;
    }

    public void setSkuProperties(String skuProperties) {
        this.skuProperties = skuProperties;
    }

    public Date getSkuDate() {
        return skuDate;
    }

    public void setSkuDate(Date skuDate) {
        this.skuDate = skuDate;
    }

    public SkuGoods() {
    }

    public SkuGoods(Integer skuId, Integer goodsId, double price, Integer num, String skuName, String skuProperties, Date skuDate) {
        this.skuId = skuId;
        this.goodsId = goodsId;
        this.price = price;
        this.num = num;
        this.skuName = skuName;
        this.skuProperties = skuProperties;
        this.skuDate = skuDate;
    }
}
